import request from './request';

/**
 * 更新选项配置
 * @param {Object} data 请求参数 { quesId: 问题ID, choiceId: 选项ID }
 * @returns {Promise}
 */
export const updateChoiceSetting = (data) => {
  return request({
    url: '/choicesetup/choicesetup',
    method: 'put',
    data
  });
};